Mewz\WCAS\Util\Orders B

Total Complexity 97
Dependencies 9
Dependents 6
Total lines 500
Lines of code 298
Logical lines of code 223
Comment lines 81
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
update_order_item_attribute_stock()
D
30 33 111
update_order_attribute_stock()
B
40 23 56
add_stock_change_order_note()
A
44 12 38
update_order_reduced_stock_amounts()
S
52 7 23
merge_changes()
S
54 7 22
update_stock_quantity()
S
55 4 20
get_valid_order_line_item()
S
65 5 9
get_order_item_meta_attributes()
S
64 3 9
get_order_item_attributes()
S
68 2 6
get_effective_order_item_quantity()
S
75 1 4